<?php
return array(
		// '配置项'=>'配置值'
		'DB_TYPE' => 'mysqli',
		'DB_HOST' => 'localhost',
		'DB_NAME' => 'wang88',
		'DB_USER' => 'wang88',
		'DB_PWD' => '123456',
		'DB_PORT'=>'3306',
		'DB_PREFIX' => 'wmfl_',
		'ACTION_SUFFIX' => 'Action',
		'URL_CASE_INSENSITIVE' => true,
		'SHOW_PAGE_TRACE' => false,
		'DEFAULT_THEME' => 'Default',
		'TMPL_DETECT_THEME' => true,
		'VIEW_PATH' => './Public/View/',
		'LAYOUT_ON' => true,
		'LAYOUT_NAME' => 'main',
		'UPLOAD_IMG_EXTS' => array('jpg', 'gif', 'png', 'jpeg'),
		'UPLOAD_MAX_SIZE' => 200*1024,
		'THUMB_SIZES' => array("thumb" => array('width'=>250, 'height'=>250), "small" => array('width'=>50, 'height'=>50)),
		'RBAC_MODULE' =>array(
				'MODULE_MY'=>'My',
				'MODULE_PARTNER'=>'Partner'
		),
		'RBAC_MY' => array(
				'RBAC_ROLE_TABLE'=>'wmfl_customer_roles', //  角色表名称
				'RBAC_USER_TABLE'=>'wmfl_customer_roles_distribution', //  用户表名称
				'RBAC_ACCESS_TABLE'=>'wmfl_customer_roles_access',//  权限表名称
				'RBAC_NODE_TABLE'=>'wmfl_node',// 节点表名称
				'RBAC_USER'=>'wmfl_customer_admin',// 用户对应的表名称
				'RBAC_USER_ID'=>'admin_cid'
		),
		'RBAC_PARTNER' => array(
				'RBAC_ROLE_TABLE'=>'wmfl_partner_roles', //  角色表名称
				'RBAC_USER_TABLE'=>'wmfl_partner_roles_distribution', //  用户表名称
				'RBAC_ACCESS_TABLE'=>'wmfl_partner_roles_access',//  权限表名称
				'RBAC_NODE_TABLE'=>'wmfl_node',// 节点表名称
				'RBAC_USER'=>'wmfl_partner_admin',// 用户对应的表名称
				'RBAC_USER_ID'=>'admin_cid'
		),
        'SITE_DOMAIN' => 'www.snh048.pub',
		'APP_SUB_DOMAIN_DEPLOY'   =>    1,
		'APP_SUB_DOMAIN_RULES'=>array(
			'admin.snh048.pub'=>'Admin'
		)
);
